#ifndef __COM_HANDLER_H__
#define __COM_HANDLER_H__


#define COM_ERR -1
#define COM_ERR_PAR -2
#define COM_OK 0
#define COM_LED_COL 1
#define COM_LED_COL_END 11
#define COM_LED_INT 2
#define COM_POS_POS 3
#define COM_POS_DIV 4
#define COM_GET_PRF_NAME 5
#define COM_GET_CMDS 6
#define COM_GET_CONF 7

int interpretCommand(char *input);

int comLedCol(char *input);
int comLedInt(char *input);
int comPosPos(char *input);
int comPosDiv(char *input);

#endif /* __COM_HANDLER_H__ */

